<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title th:text="${session.title}">123</title>
    <link th:replace="common/header"/>
    <link rel="stylesheet" th:href="@{/css/ace-skins.min.css}"/>
    <script language="javascript" type="text/javascript" th:src="@{/js/My97DatePicker/WdatePicker.js}"></script>
</head>
<body class="navbar-fixed">
<div th:replace="common/top"></div>
<div class="container-fluid main_bg" id="main-container">
    <a id="menu-toggler" href="#"><span></span></a>
    <div th:replace="common/menu"></div>
    <div id="main-content" class="clearfix">
        <div id="page-content" class="clearfix">
            <div th:replace="common/title"></div>
            <h3 class="header smaller lighter blue"><em class="icon-plus"></em>添加赛季</h3>
            <form class="form-horizontal" th:object="${footSj}" method="post" th:action="@{/foot/footSj/add}"
                  name="form" th:if="${session.footUser.qx.text == '管理员'}">
                <div class="row-fluid">
                    <!--PAGE CONTENT BEGINS HERE-->
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="sjbm">赛季编码:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input th:field="*{sjbm}" type="text" name="sjbm" id="sjbm" class="input_fix2"
                                       placeholder="赛季编码"/>
                                <img onclick="WdatePicker({el:'sjbm',dateFmt:'yyyy-MM'})" style="width:16px;height:22px"
                                     src="" alt="" th:src="@{/js/My97DatePicker/skin/datePicker.gif}"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('sjbm')}"
                              th:errors="*{sjbm}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="ksrq">开始日期:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input th:field="*{ksrq}" type="text" name="ksrq" id="ksrq" class="input_fix2"
                                       placeholder="开始日期"/>
                                <img onclick="WdatePicker({el:'ksrq',dateFmt:'yyyy-MM-dd'})"
                                     style="width:16px;height:22px" src="" alt=""
                                     th:src="@{/js/My97DatePicker/skin/datePicker.gif}"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('ksrq')}"
                              th:errors="*{ksrq}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="jsrq">结束日期:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input th:field="*{jsrq}" type="text" name="jsrq" id="jsrq" class="input_fix2"
                                       placeholder="结束日期"/>
                                <img onclick="WdatePicker({el:'jsrq',dateFmt:'yyyy-MM-dd'})"
                                     style="width:16px;height:22px" src="" alt=""
                                     th:src="@{/js/My97DatePicker/skin/datePicker.gif}"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('jsrq')}"
                              th:errors="*{jsrq}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="bsjc">比赛进程:<span style="color:red">*</span></label>
                            <div class="controls">
                                <select th:field="*{bsjc}" name="bsjc" id="bsjc" class="input_fix">
                                    <option th:each="bsjc : ${T(org.footballmanager.pandafootball.system.domain.enums.BSJC).values()}"
                                            th:value="${bsjc}" th:text="${bsjc.text}">123
                                    </option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('bsjc')}"
                              th:errors="*{bsjc}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="sjzt">赛季状态:<span style="color:red">*</span></label>
                            <div class="controls">
                                <select th:field="*{sjzt}" name="sjzt" id="sjzt" class="input_fix">
                                    <option th:each="sjzt : ${T(org.footballmanager.pandafootball.system.domain.enums.SJZT).values()}"
                                            th:value="${sjzt}" th:text="${sjzt.text}">123
                                    </option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('sjzt')}"
                              th:errors="*{sjzt}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="text-center span12">
                        <button class="btn btn-primary" type="submit"><em class="icon-save"></em>提交</button>
                        <button class="btn btn-danger" type="reset"><em class="icon-remove"></em>取消</button>
                        <a class="btn" type="button" th:href="@{/foot/footSj/search}"><em class="icon-arrow-left"></em>返回</a>
                    </div>
                </div>
            </form>
            <!--/#page-content-->
        </div>
        <div th:replace="common/skin :: skin"></div>
    </div>
    <!--/#main-content-->
</div>
<!--/.fluid-container#main-container-->
<div th:replace="common/js"></div>
</body>
</html>